package com.betterwood.dragon.dao.enhances;

import com.betterwood.dragon.entity.Result;
import com.betterwood.dragon.entity.dto.SearchDTO;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author zhengyanhua
 * @create 2021-03-19 9:37
 */
public interface CustomeResultRepo {
    List<Result> insertResults(List<Result> resultList);

    Page<Result> findBySearchDto(SearchDTO searchDto, Pageable pageable);
}
